Skip to main content

All Questions

0votes
1answer
25views

Set-PnPList or Set-PnPField fails to update immediately after a new list is created using Copy-PnPList

Any ideas why this code is not executing as expected? I tried adding a sleep after the Copy-PnPList but still didn't work. try { #Connect to the template site $templateSiteConnection =...
SPGrunt's user avatar
1vote
1answer
362views

Restrict PnPSearchQuery to just site and subsites not all tenant sites

I had a request from some co-workers to build them a PowerShell to search sites for instances of text that is not accessible so they can replace it. Specifically NA or N/A. I have a PowerShell working ...
OMGDrAcula's user avatar
1vote
2answers
635views

Add-SPOTheme : The term 'Add-SPOTheme' is not recognized as the name of a cmdlet, function, script file, or operable program

I am trying to apply a custom theme color to my SharePoint online site from an article I got online. Im running it in SharePoint online Management shell. I have the latest version of SPO management ...
Hes JvR's user avatar
0votes
1answer
434views

Need a powershell script to update 300+ SharePoint SitePages

Is there a PowerShell/PNP script that will update all "Highlighted Content" web parts within multiple site pages within a site? Need to update the web part Layout from "Grid" view ...
Luke's user avatar
0votes
1answer
820views

Using PowerShell to find a document using the DocIDRedir.aspx page

We have an issue when attempting to use the Document ID service in SPO with some documents. We're able to browse to the majority of them using the DocIdRedir URL https://contoso.sharepoint.com/sites/...
James's user avatar

close